<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('修改前数据')}:</label>
        <div class="col-xs-12 col-sm-8">
            <table class="table fieldlist" data-template="jsontpl" data-name="row[json]" id="first-table">
                <tr>
                    <td>{:__('等级')}</td>
                    <td>{:__('总权益值')}</td>
                    <td>{:__('应得分红')}</td>
                    <td>{:__('可用分红')}</td>
                </tr>
               
            </table>
            <!--请注意实际开发中textarea应该添加个hidden进行隐藏-->
            <textarea name="row[json]" class="form-control hide" cols="30" rows="5">[{$row.json|htmlentities}]</textarea>
            <script id="jsontpl" type="text/html">
                <tr class="form-inline">
                    <td><input type="text" readonly name="<%=name%>[<%=index%>][group_id]" class="form-control" size="15" style="width:100px" value="<%=row.group_id%>" placeholder="等级"/></td>
                    <td><input type="text" readonly name="<%=name%>[<%=index%>][total_interests]" class="form-control" style="width:100px" size="15" value="<%=row.total_interests%>" placeholder="总权益值"/></td>
                    <td><input type="text" readonly name="<%=name%>[<%=index%>][total_dividend]" class="form-control" style="width:100px" value="<%=row.total_dividend%>" placeholder="应得分红"/></td>
                    <td><input type="text" readonly name="<%=name%>[<%=index%>][use_dividend]" class="form-control" style="width:100px" value="<%=row.use_dividend%>" placeholder="可用分红"/></td>
                </tr>
            </script>
        </div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('修改后数据')}:</label>
        <div class="col-xs-12 col-sm-8">
            <table class="table fieldlist" data-template="basictpl" data-name="row[basic]" id="first-table">
                <tr>
                    <td>{:__('等级')}</td>
                    <td>{:__('总权益值')}</td>
                    <td>{:__('应得分红')}</td>
                    <td>{:__('可用分红')}</td>
                </tr>
                <!-- <tr>
                    <td colspan="5"><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></td>
                </tr> -->
            </table>
            <!--请注意实际开发中textarea应该添加个hidden进行隐藏-->
            <textarea name="row[basic]" class="form-control hide" cols="30" rows="5">[{$row.text|htmlentities}]</textarea>
            <script id="basictpl" type="text/html">
                <tr class="form-inline">
                    <td><input type="text" readonly name="<%=name%>[<%=index%>][group_id]" class="form-control" size="15" style="width:100px" value="<%=row.group_id%>" placeholder="等级"/></td>
                    <td><input type="text" readonly name="<%=name%>[<%=index%>][total_interests]" class="form-control" style="width:100px" size="15" value="<%=row.total_interests%>" placeholder="总权益值"/></td>
                    <td><input type="text" readonly name="<%=name%>[<%=index%>][total_dividend]" class="form-control" style="width:100px" value="<%=row.total_dividend%>" placeholder="应得分红"/></td>
                    <td><input type="text" readonly name="<%=name%>[<%=index%>][use_dividend]" class="form-control" style="width:100px" value="<%=row.use_dividend%>" placeholder="可用分红"/></td>
                </tr>
            </script>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <!-- <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button> -->
            <!-- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button> -->
        </div>
    </div>
</form>
